package com.qf.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "leave")
public class Leave  implements Serializable {

	@Column(name = "pers_id")
	private Integer persId;

	@Column(name = "real_name")
	private String realName;

	@Column(name = "dept_id")
	private Integer deptId;

	@Column(name = "start_leave")
	private java.util.Date startLeave;

	@Column(name = "end_leave")
	private java.util.Date endLeave;

	@Column(name = "day_leave")
	private Integer dayLeave;

	@Column(name = "type_leave")
	private Integer typeLeave;

	@Column(name = "cause_leave")
	private String causeLeave;

	@Column(name = "user_id")
	private Integer userId;

	@Column(name = "audit_status")
	private Integer auditStatus;

	@Column(name = "audit_time")
	private java.util.Date auditTime;

	@Column(name = "task_id")
	private Integer taskId;

}
